package pro.cherish.knowledgecmomon.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("批量操作的请求参数")
public class BatchParam {

    @ApiModelProperty(value = "ID数组", required = true)
    @NotEmpty(message = "ID为空")
    private String[] ids;

}
